]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/scroll-view: Ensure float are used explictly
authorFrederic Crozat <fcrozat@suse.com>
Fri, 16 Apr 2021 12:09:23 +0000 (14:09 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 16 Apr 2021 19:23:06 +0000 (19:23 +0000)
Pineview needs explicit float to prevent error when shader is compiled.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4127
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1815>

src/st/st-scroll-view-fade.glsl

index 264f3bcd7228e757fd92aa206d93b54bd7592fb6..0d8812b0788b6875009ec5800fb71f0b113a1070 100644 (file)
@@ -70,6 +70,6 @@ void main ()
 
         cogl_color_out *= ratio;
     } else {
-        cogl_color_out *= 0;
+        cogl_color_out *= 0.0;
     }
 }